<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <a th:if="${flag == 'yes'}" th:href="@{http://www.ktjiao.com/}">ktjiaoyu</a>
    <a th:unless="${flag == 'no'}" th:href="@{http://www.czkt.com/}">ktjiaoyu</a>
</body>
</html>